<?php


namespace dsp\adapter;


class Main extends \kernel\BaseMain
{

    public function execute($choice = '')
    {
        $target = new Target();
        echo $target->request() . PHP_EOL;

        echo '===============' . PHP_EOL;
        $adaptee = new Adaptee();
        echo $adaptee->specificRequest() . PHP_EOL;

        echo '===============' . PHP_EOL;
        $adapter = new Adapter($adaptee);
        echo $adapter->request() . PHP_EOL;
    }
}